package com.tbit.uqbike.object.pojo;

import java.util.Collection;
import java.util.Date;

/**
 * 登录日志
 *
 * @author Leon
 * 2017年4月26日 下午7:28:29
 */
public class LoginLog {
    /**
     * 用户类型
     */
    private Integer type;
    /**
     * 用户id
     */
    private Integer id;
    /**
     * 登录时间
     */
    private Date loginTime;
    /**
     * ip
     */
    private String ip;
    /**
     * 代理
     */
    private String agent;
    /**
     * 账号id
     */
    private Integer accountUserId;

    private Collection<Integer> userIds;

    public Integer getAccountUserId() {
        return accountUserId;
    }

    public void setAccountUserId(Integer accountUserId) {
        this.accountUserId = accountUserId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Date loginTime) {
        this.loginTime = loginTime;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getAgent() {
        return agent;
    }

    public void setAgent(String agent) {
        this.agent = agent;
    }

    public Collection<Integer> getUserIds() {
        return userIds;
    }

    public void setUserIds(Collection<Integer> userIds) {
        this.userIds = userIds;
    }

    @Override
    public String toString() {
        return "LoginLog [type=" + type + ", id=" + id + ", loginTime=" + loginTime + ", ip=" + ip + ", agent=" + agent + "]";
    }

}
